/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package models.beans;

import java.util.ArrayList;
import java.util.List;
import models.dao.OfertaDao;
import models.entity.Oferta;

/**
 *
 * @author Matias
 */
public class OfertaBean {
    private OfertaDao ofertaDao=new OfertaDao();
        
    public List<Oferta> buscarOferta(){
             return ofertaDao.getOferta();
            
    }
}
